package com.metal.gear.certification.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 菜单权限规则表
 * </p>
 *
 * @Author huangzhilin
 * @since 2019-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(name ="菜单数据权限规则")
public class SysPermissionDataRule implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	private String id;


	@Schema(name ="对应的菜单id")
	private String permissionId;


	@Schema(name ="规则名称")
	private String ruleName;


	@Schema(name ="字段")
	private String ruleColumn;

	@Schema(name ="条件")
	private String ruleConditions;

	@Schema(name ="规则值")
	private String ruleValue;

	@Schema(name ="状态值 1有效 0无效")
	private String status;

	@Schema(name ="创建时间")
	private Date createTime;

	@Schema(name ="创建人")
	private String createBy;

	@Schema(name ="修改时间")
	private Date updateTime;

	@Schema(name ="修改人")
	private String updateBy;
}
